<?php
namespace app\dev\service;
/**
 * 开发菜单接口
 */
class MenuService{

	/**
	 * 获取菜单结构
	 */
	public function getSystemMenu(){
		return array(
            'dev' => array(
                'name' => '开发工具',
                'icon' => 'bug',
                'order' => 10,
                'menu' => array(
                    array(
                        'name' => '开发文档',
                        'icon' => 'eyedropper',
                        'order' => 0,
                        'menu' => array(
                            array(
                                'name' => '模板开发',
                                'icon' => 'eyedropper',
                                'url' => url('dev/Tpl/tplList'),
                                'order' => 0
                            ),
                            array(
                                'name' => '模块开发',
                                'icon' => 'cube',
                                'url' => url('dev/Module/index'),
                                'order' => 1
                            ),
                        ),
                    ),
                    array(
                        'name' => '辅助工具',
                        'icon' => 'automobile',
                        'order' => 1,
                        'menu' => array(
                            array(
                                'name' => '脚手架',
                                'icon' => 'automobile',
                                'url' => url('dev/Scaffold/index'),
                                'order' => 2
                            ),
                        ),
                    ),
                ),
            ),
        );
	}

}
